% title = 'Delete Paste'
% include(top)

% if deleted:
<meta http-equiv="refresh" content="3;url=http://paste.hydra.ws/user">
% end  # (if)

<div class="pure-g">
	<div class="pure-u-1">
		<h1 class="center">{{title}}</h1>
	</div>
	<div class="pure-u-1 pure-u-md-1-4 pure-u-lg-1-3"></div>
	<div class="pure-u-1 pure-u-md-1-2 pure-u-lg-1-3 center">
% if warning:
		<div class="boxed">
			<p>You're about to delete paste: "<b><a href="/p/{{!fileid}}">{{pastetitle}}</a></b>".</p>
			<p>Are you sure you want to do that?</p>
		</div>
		<form class="center" action="/delete/{{fileid}}" method="post">
			<p><button class="button-error button-large pure-button" value="1" name="delete">Yes, delete paste</button></p>
			<p><button class="button-large pure-button" name="cancel">NO! DON'T DO THAT!</button></p>
		</form>
% else:
		<p>Paste <b>{{pastetitle}}</b> ({{fileid}}) deleted.</b>
% end  # (if)
	</div>
	<div class="pure-u-1 pure-u-md-1-4 pure-u-lg-1-3"></div>
</div>

% include(bottom)
